package org.edu.modules.base.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.edu.modules.base.entity.VeBaseServiceType;

@Mapper
public abstract interface VeBaseServiceTypeMapper extends BaseMapper<VeBaseServiceType> {

    public abstract int serviceTypeAllList(String name);

    public abstract List<Map<String, Object>> serviceTypePageList(String name, Integer startIndex, Integer pageSize);

    public abstract VeBaseServiceType getServiceTypeByName(String id, String name);
}
